package com.record.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.record.dao.AgreesRelevanceMapper;
import com.record.entity.AgreesRelevance;
import com.record.service.AgreesRelevanceService;
@Service
public class AgreesRelevanceServiceImpl implements AgreesRelevanceService {
	@Resource 
	private AgreesRelevanceMapper agreesRelevanceMapper;

	@Override
	public AgreesRelevance selectAgreeByBase(AgreesRelevance agreesRelevance) {
		return agreesRelevanceMapper.selectAgreeByBase(agreesRelevance);
	}

	@Override
	public int insert(AgreesRelevance agreesRelevance) {
		return agreesRelevanceMapper.insert(agreesRelevance);
	}

	@Override
	public int deleteByfurId(AgreesRelevance agreesRelevance) {
		return agreesRelevanceMapper.deleteByfurId(agreesRelevance);
	}

}
